import { IsNotEmpty } from 'class-validator';

export class CreateDto {
  @IsNotEmpty({ message: '类别名称不能为空' })
  name: string;

  description: string;
}
